<div class="row taskChange" style="min-height:1000px">
    <div class="col-sm-4">
        <div class="row">
            <div class="panel">
                <header class="panel-heading"> 加(减)分项目 </header>
                <div class="panel-body icheck" id="formlist" name="about">
                    <select class="form-control m-bot15 select-formcategory">
                        <option value="">请选择表格分类</option>
                        <volist name="formcategorylist" id="vo">
                            <option <?php if($vo['id']==$info['type_id']){echo('selected');} ?> value="{$vo.id}">{:getdeepstr($vo['cl'])}{$vo.name}</option>
                        </volist>
                    </select>
                    <div id="taskform">
                        <volist name="taskform" id="tf">
                            <div class="square-red single-row source">
                                <label for="source-{$i}"><input id="source-{$i}" type="radio" onchange=""  name="taskform" value="{$tf.id}"  />{$tf.title}</label>
                            </div>
                        </volist>
                    </div>
                    <form id="taskformform" action="{:U('Taskform/getTaskform')}" method="post"><input type="hidden" name="id" value=""/></form>
                </div>
            </div>
        </div>
    </div>
    <div class="col-sm-8 taskChange">
        <div class="panel" id="myform"><!--表结构-->
            <div class="col-lg-12">
                <div class="panel" style="height:200px;line-height:200px;text-align:center;vertical-align:middle;font-size:24px">
                    <i class="fa icon-hand-o-left" style="color:#64CEA6;font-size:24px;vertical-align:middle" ></i>　　请先选择加(减)分项目
                </div>
            </div>
        </div>
    </div>
</div>
<script>
//选择任务列表 （任务列表页 面里面写了获取表单，开启验证的几个方法）
$("#taskform").ajaxlist();
//当点击选择的任务的时候
$(".select-formcategory").change(function(e) {
    $("#taskformform input").val($(this).val());
	$("#taskformform").submit();
});
</script>